package com.inhim.pjhim.utils;

import com.google.gson.Gson;

import java.lang.reflect.Type;

public class GsonUtils {
    public static  <T> T fromToJson(String json, Type listType){
        Gson gson = new Gson();
        T t = null;
        t = gson.fromJson(json,listType);
        return t;
    }
}
